<%-- 
    Document   : noAuthority
    Created on : 15.07.2009, 15:39:20
    Author     : Mario
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <jsp:useBean id="beeper" scope="application" class="de.stalinski.util.Beep" />
        <script type="text/javascript">
            var i = 1,timer;
            window.onload=function() {
                timer = setInterval('blink()', 500);
            }
            function blink() {
                <% beeper.beep();
   %>
                if (i<10) {
                    if (i%2 == 0) {
                         
                   document.getElementById('blink').style.backgroundColor = '#ffff00';
               } else {
                   document.getElementById('blink').style.backgroundColor = '#ff0000';


               }
           } else {
               document.getElementById('blink').style.backgroundColor = '#ffff00';
               clearInterval(timer);
           }
           i++;
       }
        </script>
        <meta http-equiv="refresh" content="4;index.jsp">
        <link rel="stylesheet" type="text/css" href="serverStyles.css" />
        <title>S! Frankonia-Brunonia Invoice-System</title>
    </head>
    <body>


        <table class="warning">
            <tbody>
                <tr>
                    <td id="blink">Entschuldigung, Sie sind nicht berechtigt, diesen Bereich zu betreten!</td>
                </tr>
            </tbody>

        </table>



    </body>
</html>
